<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  
  
  <title>牛的第一篇博客 | Hexo</title>
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  <meta name="description" content="前言2022年12月21日搭建了个人博客。  一、下载安装下载安装Node.js安装后包含 node 和 npm（包管理工具） 安装国内镜像源1npm -install -g cnpm --registry&#x3D;https:&#x2F;&#x2F;registry.npm.taobao.org  # -g：global 全局安装   二、初始化2.1 博客搭建利用hexo框架搭建博客">
<meta property="og:type" content="article">
<meta property="og:title" content="牛的第一篇博客">
<meta property="og:url" content="https://boxpiggy.gitee.io/kingshit/2022/12/21/%E7%89%9B%E7%9A%84%E7%AC%AC%E4%B8%80%E7%AF%87%E5%8D%9A%E5%AE%A2/index.html">
<meta property="og:site_name" content="Hexo">
<meta property="og:description" content="前言2022年12月21日搭建了个人博客。  一、下载安装下载安装Node.js安装后包含 node 和 npm（包管理工具） 安装国内镜像源1npm -install -g cnpm --registry&#x3D;https:&#x2F;&#x2F;registry.npm.taobao.org  # -g：global 全局安装   二、初始化2.1 博客搭建利用hexo框架搭建博客">
<meta property="og:locale" content="en_US">
<meta property="article:published_time" content="2022-12-21T03:25:47.000Z">
<meta property="article:modified_time" content="2022-12-21T03:43:17.616Z">
<meta property="article:author" content="John Doe">
<meta name="twitter:card" content="summary">
  
    <link rel="alternate" href="/kingshit/atom.xml" title="Hexo" type="application/atom+xml">
  
  
    <link rel="shortcut icon" href="/kingshit/favicon.png">
  
  
    
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/typeface-source-code-pro@0.0.71/index.min.css">

  
  
<link rel="stylesheet" href="/kingshit/css/style.css">

  
    
<link rel="stylesheet" href="/kingshit/fancybox/jquery.fancybox.min.css">

  
<meta name="generator" content="Hexo 6.3.0"></head>

<body>
  <div id="container">
    <div id="wrap">
      <header id="header">
  <div id="banner"></div>
  <div id="header-outer" class="outer">
    <div id="header-title" class="inner">
      <h1 id="logo-wrap">
        <a href="/kingshit/" id="logo">Hexo</a>
      </h1>
      
    </div>
    <div id="header-inner" class="inner">
      <nav id="main-nav">
        <a id="main-nav-toggle" class="nav-icon"></a>
        
          <a class="main-nav-link" href="/kingshit/">Home</a>
        
          <a class="main-nav-link" href="/kingshit/archives">Archives</a>
        
      </nav>
      <nav id="sub-nav">
        
          <a id="nav-rss-link" class="nav-icon" href="/kingshit/atom.xml" title="RSS Feed"></a>
        
        <a id="nav-search-btn" class="nav-icon" title="Search"></a>
      </nav>
      <div id="search-form-wrap">
        <form action="//google.com/search" method="get" accept-charset="UTF-8" class="search-form"><input type="search" name="q" class="search-form-input" placeholder="Search"><button type="submit" class="search-form-submit">&#xF002;</button><input type="hidden" name="sitesearch" value="https://boxpiggy.gitee.io/kingshit"></form>
      </div>
    </div>
  </div>
</header>

      <div class="outer">
        <section id="main"><article id="post-牛的第一篇博客" class="h-entry article article-type-post" itemprop="blogPost" itemscope itemtype="https://schema.org/BlogPosting">
  <div class="article-meta">
    <a href="/kingshit/2022/12/21/%E7%89%9B%E7%9A%84%E7%AC%AC%E4%B8%80%E7%AF%87%E5%8D%9A%E5%AE%A2/" class="article-date">
  <time class="dt-published" datetime="2022-12-21T03:25:47.000Z" itemprop="datePublished">2022-12-21</time>
</a>
    
  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 class="p-name article-title" itemprop="headline name">
      牛的第一篇博客
    </h1>
  

      </header>
    
    <div class="e-content article-entry" itemprop="articleBody">
      
        <h1 id="前言"><a href="#前言" class="headerlink" title="前言"></a>前言</h1><p>2022年12月21日搭建了个人博客。</p>
<hr>
<h1 id="一、下载安装"><a href="#一、下载安装" class="headerlink" title="一、下载安装"></a>一、下载安装</h1><h2 id="下载安装Node-js"><a href="#下载安装Node-js" class="headerlink" title="下载安装Node.js"></a>下载安装Node.js</h2><p>安装后包含 node 和 npm（包管理工具）</p>
<h2 id="安装国内镜像源"><a href="#安装国内镜像源" class="headerlink" title="安装国内镜像源"></a>安装国内镜像源</h2><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">npm -install -g cnpm --registry=https://registry.npm.taobao.org  # -g：global 全局安装</span><br></pre></td></tr></table></figure>

<hr>
<h1 id="二、初始化"><a href="#二、初始化" class="headerlink" title="二、初始化"></a>二、初始化</h1><h2 id="2-1-博客搭建"><a href="#2-1-博客搭建" class="headerlink" title="2.1 博客搭建"></a>2.1 博客搭建</h2><p>利用hexo框架搭建博客</p>

      
    </div>
    <footer class="article-footer">
      <a data-url="https://boxpiggy.gitee.io/kingshit/2022/12/21/%E7%89%9B%E7%9A%84%E7%AC%AC%E4%B8%80%E7%AF%87%E5%8D%9A%E5%AE%A2/" data-id="clc4jbr680001ick961fr6hzg" data-title="牛的第一篇博客" class="article-share-link">Share</a>
      
      
      
    </footer>
  </div>
  
    
<nav id="article-nav">
  
  
    <a href="/kingshit/2022/12/21/hello-world/" id="article-nav-older" class="article-nav-link-wrap">
      <strong class="article-nav-caption">Older</strong>
      <div class="article-nav-title">Hello World</div>
    </a>
  
</nav>

  
</article>


</section>
        
          <aside id="sidebar">
  
    

  
    

  
    
  
    
  <div class="widget-wrap">
    <h3 class="widget-title">Archives</h3>
    <div class="widget">
      <ul class="archive-list"><li class="archive-list-item"><a class="archive-list-link" href="/kingshit/archives/2022/12/">December 2022</a></li></ul>
    </div>
  </div>


  
    
  <div class="widget-wrap">
    <h3 class="widget-title">Recent Posts</h3>
    <div class="widget">
      <ul>
        
          <li>
            <a href="/kingshit/2022/12/21/%E7%89%9B%E7%9A%84%E7%AC%AC%E4%B8%80%E7%AF%87%E5%8D%9A%E5%AE%A2/">牛的第一篇博客</a>
          </li>
        
          <li>
            <a href="/kingshit/2022/12/21/hello-world/">Hello World</a>
          </li>
        
      </ul>
    </div>
  </div>

  
</aside>
        
      </div>
      <footer id="footer">
  
  <div class="outer">
    <div id="footer-info" class="inner">
      
      &copy; 2022 John Doe<br>
      Powered by <a href="https://hexo.io/" target="_blank">Hexo</a>
    </div>
  </div>
</footer>

    </div>
    <nav id="mobile-nav">
  
    <a href="/kingshit/" class="mobile-nav-link">Home</a>
  
    <a href="/kingshit/archives" class="mobile-nav-link">Archives</a>
  
</nav>
    


<script src="/kingshit/js/jquery-3.4.1.min.js"></script>



  
<script src="/kingshit/fancybox/jquery.fancybox.min.js"></script>




<script src="/kingshit/js/script.js"></script>





  </div>
</body>
</html>